home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-12-08 | 6.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Dec 8 17:05:37 1992, modified Tue Dec 8 17:05:37 1992, creator 'MPS ', type ASCII, 6041 bytes "GUSI.h" , at 0x1819 596 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 47 55 53 49 2e 68 | 00 00 00 00 00 00 00 00 |..GUSI.h|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 17 99 00 | 00 02 54 a7 4a cc b1 a7 |........|..T.J...|
|00000060| 4a cc b1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |J.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e4 26 00 00 |........|.....&..|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 0d 50 | 72 6f 6a 65 63 74 09 3a |******.P|roject.:|
|000000d0| 09 47 55 53 49 09 09 09 | 09 2d 09 47 72 61 6e 64 |.GUSI...|.-.Grand|
|000000e0| 20 55 6e 69 66 69 65 64 | 20 53 6f 63 6b 65 74 20 | Unified| Socket |
|000000f0| 49 6e 74 65 72 66 61 63 | 65 0d 46 69 6c 65 09 09 |Interfac|e.File..|
|00000100| 3a 09 47 55 53 49 2e 68 | 09 09 09 2d 09 53 6f 63 |:.GUSI.h|...-.Soc|
|00000110| 6b 65 74 20 63 61 6c 6c | 73 0d 41 75 74 68 6f 72 |ket call|s.Author|
|00000120| 09 3a 09 4d 61 74 74 68 | 69 61 73 20 4e 65 65 72 |.:.Matth|ias Neer|
|00000130| 61 63 68 65 72 0d 53 74 | 61 72 74 65 64 09 3a 09 |acher.St|arted.:.|
|00000140| 32 31 4d 61 72 39 32 09 | 09 09 09 09 09 09 09 4c |21Mar92.|.......L|
|00000150| 61 6e 67 75 61 67 65 09 | 3a 09 4d 50 57 20 43 2f |anguage.|:.MPW C/|
|00000160| 43 2b 2b 0d 4d 6f 64 69 | 66 69 65 64 09 3a 09 31 |C++.Modi|fied.:.1|
|00000170| 37 41 70 72 39 32 09 4d | 4e 09 62 7a 65 72 6f 28 |7Apr92.M|N.bzero(|
|00000180| 29 0d 09 09 09 09 31 39 | 41 70 72 39 32 09 4d 4e |).....19|Apr92.MN|
|00000190| 09 43 2b 2b 20 63 6f 6d | 70 61 74 69 62 69 6c 69 |.C++ com|patibili|
|000001a0| 74 79 0d 09 09 09 09 32 | 37 41 70 72 39 32 09 4d |ty.....2|7Apr92.M|
|000001b0| 4e 09 67 65 74 73 6f 63 | 6b 6f 70 74 28 29 0d 09 |N.getsoc|kopt()..|
|000001c0| 09 09 09 31 38 4d 61 79 | 39 32 09 4d 4e 09 50 50 |...18May|92.MN.PP|
|000001d0| 43 20 73 74 75 66 66 0d | 09 09 09 09 32 36 4a 75 |C stuff.|....26Ju|
|000001e0| 6e 39 32 09 4d 4e 09 63 | 68 6f 6f 73 65 28 29 0d |n92.MN.c|hoose().|
|000001f0| 09 09 09 09 32 31 4a 75 | 6c 39 32 09 4d 4e 09 73 |....21Ju|l92.MN.s|
|00000200| 6f 63 6b 61 64 64 72 5f | 61 74 6c 6b 5f 73 79 6d |ockaddr_|atlk_sym|
|00000210| 0d 09 09 09 09 30 33 41 | 75 67 39 32 09 4d 4e 09 |.....03A|ug92.MN.|
|00000220| 73 61 5f 63 6f 6e 73 74 | 72 5f 70 70 63 0d 09 09 |sa_const|r_ppc...|
|00000230| 09 09 30 37 53 65 70 39 | 32 09 4d 4e 09 72 65 61 |..07Sep9|2.MN.rea|
|00000240| 64 6c 69 6e 6b 28 29 0d | 09 09 09 09 31 32 53 65 |dlink().|....12Se|
|00000250| 70 39 32 09 4d 4e 09 48 | 6f 73 74 6e 61 6d 65 20 |p92.MN.H|ostname |
|00000260| 73 74 75 66 66 0d 09 09 | 09 09 32 36 53 65 70 39 |stuff...|..26Sep9|
|00000270| 32 09 4d 4e 09 53 65 70 | 61 72 61 74 65 20 64 69 |2.MN.Sep|arate di|
|00000280| 72 65 6e 74 20 61 6e 64 | 20 73 74 61 74 0d 09 09 |rent and| stat...|
|00000290| 09 09 31 35 4e 6f 76 39 | 32 09 4d 4e 09 72 65 6d |..15Nov9|2.MN.rem|
|000002a0| 6f 76 65 20 6e 65 74 64 | 62 2e 68 20 64 65 66 69 |ove netd|b.h defi|
|000002b0| 6e 69 74 69 6f 6e 73 0d | 09 09 09 09 30 38 44 65 |nitions.|....08De|
|000002c0| 63 39 32 09 4d 4e 09 67 | 65 74 63 77 64 28 29 0d |c92.MN.g|etcwd().|
|000002d0| 4c 61 73 74 09 09 3a 09 | 30 38 44 65 63 39 32 0d |Last..:.|08Dec92.|
|000002e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000300| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000310| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000320| 2a 2a 2a 2a 2a 2f 0d 0d | 23 69 66 6e 64 65 66 20 |*****/..|#ifndef |
|00000330| 5f 47 55 53 49 5f 0d 23 | 64 65 66 69 6e 65 20 5f |_GUSI_.#|define _|
|00000340| 47 55 53 49 5f 0d 0d 2f | 2a 20 46 65 65 6c 20 66 |GUSI_../|* Feel f|
|00000350| 72 65 65 20 74 6f 20 69 | 6e 63 72 65 61 73 65 20 |ree to i|ncrease |
|00000360| 74 68 69 73 20 61 73 20 | 6e 65 65 64 65 64 20 2a |this as |needed *|
|00000370| 2f 0d 23 64 65 66 69 6e | 65 20 47 55 53 49 5f 4d |/.#defin|e GUSI_M|
|00000380| 41 58 5f 46 44 09 36 34 | 0d 23 64 65 66 69 6e 65 |AX_FD.64|.#define|
|00000390| 20 46 44 5f 53 45 54 53 | 49 5a 45 09 47 55 53 49 | FD_SETS|IZE.GUSI|
|000003a0| 5f 4d 41 58 5f 46 44 0d | 0d 23 69 66 64 65 66 20 |_MAX_FD.|.#ifdef |
|000003b0| 5f 5f 63 70 6c 75 73 70 | 6c 75 73 0d 65 78 74 65 |__cplusp|lus.exte|
|000003c0| 72 6e 20 22 43 22 20 7b | 0d 23 65 6e 64 69 66 0d |rn "C" {|.#endif.|
|000003d0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 69 |.#includ|e <sys/i|
|000003e0| 6f 63 74 6c 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |octl.h>.|#include|
|000003f0| 20 3c 73 79 73 2f 66 63 | 6e 74 6c 2e 68 3e 0d 23 | <sys/fc|ntl.h>.#|
|00000400| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 2f 73 74 61 |include |<sys/sta|
|00000410| 74 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 64 |t.h>.#in|clude <d|
|00000420| 69 72 65 6e 74 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |irent.h>|.#includ|
|00000430| 65 20 3c 54 79 70 65 73 | 2e 68 3e 0d 23 69 6e 63 |e <Types|.h>.#inc|
|00000440| 6c 75 64 65 20 3c 45 76 | 65 6e 74 73 2e 68 3e 0d |lude <Ev|ents.h>.|
|00000450| 23 69 6e 63 6c 75 64 65 | 20 3c 46 69 6c 65 73 2e |#include| <Files.|
|00000460| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 41 70 70 |h>.#incl|ude <App|
|00000470| 6c 65 54 61 6c 6b 2e 68 | 3e 0d 23 69 6e 63 6c 75 |leTalk.h|>.#inclu|
|00000480| 64 65 20 3c 43 54 42 55 | 74 69 6c 69 74 69 65 73 |de <CTBU|tilities|
|00000490| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 50 61 |.h>.#inc|lude <Pa|
|000004a0| 63 6b 61 67 65 73 2e 68 | 3e 0d 23 69 6e 63 6c 75 |ckages.h|>.#inclu|
|000004b0| 64 65 20 3c 50 50 43 54 | 6f 6f 6c 42 6f 78 2e 68 |de <PPCT|oolBox.h|
|000004c0| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |>.#inclu|de <sys/|
|000004d0| 74 79 70 65 73 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |types.h>|.#includ|
|000004e0| 65 20 3c 73 79 73 2f 74 | 69 6d 65 2e 68 3e 0d 23 |e <sys/t|ime.h>.#|
|000004f0| 69 6e 63 6c 75 64 65 20 | 3c 73 79 73 2f 73 6f 63 |include |<sys/soc|
|00000500| 6b 65 74 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |ket.h>.#|include |
|00000510| 3c 73 74 72 69 6e 67 2e | 68 3e 0d 23 69 6e 63 6c |<string.|h>.#incl|
|00000520| 75 64 65 20 3c 6e 65 74 | 69 6e 65 74 2f 69 6e 2e |ude <net|inet/in.|
|00000530| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 6e 65 74 |h>.#incl|ude <net|
|00000540| 64 62 2e 68 3e 0d 0d 74 | 79 70 65 64 65 66 20 65 |db.h>..t|ypedef e|
|00000550| 6e 75 6d 20 73 70 69 6e | 5f 6d 73 67 0d 09 7b 0d |num spin|_msg..{.|
|00000560| 09 53 50 5f 4d 49 53 43 | 2c 09 09 09 09 2f 2a 20 |.SP_MISC|,..../* |
|00000570| 73 6f 6d 65 20 77 65 69 | 72 64 20 74 68 69 6e 67 |some wei|rd thing|
|00000580| 2c 20 75 73 75 61 6c 6c | 79 20 6a 75 73 74 20 72 |, usuall|y just r|
|00000590| 65 74 75 72 6e 20 69 6d | 6d 65 64 69 61 74 65 6c |eturn im|mediatel|
|000005a0| 79 20 69 66 20 79 6f 75 | 20 67 65 74 20 74 68 69 |y if you| get thi|
|000005b0| 73 20 2a 2f 0d 09 53 50 | 5f 53 45 4c 45 43 54 2c |s */..SP|_SELECT,|
|000005c0| 09 09 09 2f 2a 20 69 6e | 20 61 20 73 65 6c 65 63 |.../* in| a selec|
|000005d0| 74 20 63 61 6c 6c 20 2a | 2f 0d 09 53 50 5f 4e 41 |t call *|/..SP_NA|
|000005e0| 4d 45 2c 09 09 09 09 2f | 2a 20 67 65 74 74 69 6e |ME,..../|* gettin|
|000005f0| 67 20 61 20 68 6f 73 74 | 20 62 79 20 6e 61 6d 65 |g a host| by name|
|00000600| 20 2a 2f 0d 09 53 50 5f | 41 44 44 52 2c 09 09 09 | */..SP_|ADDR,...|
|00000610| 09 2f 2a 20 67 65 74 74 | 69 6e 67 20 61 20 68 6f |./* gett|ing a ho|
|00000620| 73 74 20 62 79 20 61 64 | 64 72 65 73 73 20 2a 2f |st by ad|dress */|
|00000630| 0d 09 53 50 5f 53 54 52 | 45 41 4d 5f 52 45 41 44 |..SP_STR|EAM_READ|
|00000640| 2c 09 2f 2a 20 53 74 72 | 65 61 6d 20 72 65 61 64 |,./* Str|eam read|
|00000650| 20 63 61 6c 6c 20 2a 2f | 0d 09 53 50 5f 53 54 52 | call */|..SP_STR|
|00000660| 45 41 4d 5f 57 52 49 54 | 45 2c 09 2f 2a 20 53 74 |EAM_WRIT|E,./* St|
|00000670| 72 65 61 6d 20 77 72 69 | 74 65 20 63 61 6c 6c 20 |ream wri|te call |
|00000680| 2a 2f 0d 09 53 50 5f 44 | 47 52 41 4d 5f 52 45 41 |*/..SP_D|GRAM_REA|
|00000690| 44 2c 09 09 2f 2a 20 44 | 61 74 61 67 72 61 6d 20 |D,../* D|atagram |
|000006a0| 72 65 61 64 20 63 61 6c | 6c 20 2a 2f 0d 09 53 50 |read cal|l */..SP|
|000006b0| 5f 44 47 52 41 4d 5f 57 | 52 49 54 45 2c 09 2f 2a |_DGRAM_W|RITE,./*|
|000006c0| 20 44 61 74 61 67 72 61 | 6d 20 77 72 69 74 65 20 | Datagra|m write |
|000006d0| 63 61 6c 6c 20 2a 2f 0d | 09 53 50 5f 53 4c 45 45 |call */.|.SP_SLEE|
|000006e0| 50 09 09 09 09 2f 2a 20 | 73 6c 65 65 70 69 6e 67 |P..../* |sleeping|
|000006f0| 2c 20 70 61 73 73 65 73 | 20 74 69 63 6b 73 20 6c |, passes| ticks l|
|00000700| 65 66 74 20 74 6f 20 73 | 6c 65 65 70 20 2a 2f 0d |eft to s|leep */.|
|00000710| 09 7d 20 73 70 69 6e 5f | 6d 73 67 3b 0d 0d 74 79 |.} spin_|msg;..ty|
|00000720| 70 65 64 65 66 20 69 6e | 74 20 28 2a 47 55 53 49 |pedef in|t (*GUSI|
|00000730| 53 70 69 6e 46 6e 29 28 | 73 70 69 6e 5f 6d 73 67 |SpinFn)(|spin_msg|
|00000740| 20 6d 73 67 2c 20 6c 6f | 6e 67 20 70 61 72 61 6d | msg, lo|ng param|
|00000750| 29 3b 0d 74 79 70 65 64 | 65 66 20 76 6f 69 64 20 |);.typed|ef void |
|00000760| 28 2a 47 55 53 49 45 76 | 74 48 61 6e 64 6c 65 72 |(*GUSIEv|tHandler|
|00000770| 29 28 45 76 65 6e 74 52 | 65 63 6f 72 64 20 2a 20 |)(EventR|ecord * |
|00000780| 65 76 29 3b 0d 74 79 70 | 65 64 65 66 20 47 55 53 |ev);.typ|edef GUS|
|00000790| 49 45 76 74 48 61 6e 64 | 6c 65 72 09 47 55 53 49 |IEvtHand|ler.GUSI|
|000007a0| 45 76 74 54 61 62 6c 65 | 5b 32 34 5d 3b 0d 0d 2f |EvtTable|[24];../|
|000007b0| 2a 0d 20 2a 20 41 64 64 | 72 65 73 73 20 66 61 6d |*. * Add|ress fam|
|000007c0| 69 6c 69 65 73 2e 0d 20 | 2a 2f 0d 23 64 65 66 69 |ilies.. |*/.#defi|
|000007d0| 6e 65 09 41 46 5f 55 4e | 53 50 45 43 09 09 20 30 |ne.AF_UN|SPEC.. 0|
|000007e0| 09 09 2f 2a 20 75 6e 73 | 70 65 63 69 66 69 65 64 |../* uns|pecified|
|000007f0| 20 09 09 09 09 09 09 09 | 09 09 2a 2f 0d 23 64 65 | .......|..*/.#de|
|00000800| 66 69 6e 65 09 41 46 5f | 55 4e 49 58 09 09 09 20 |fine.AF_|UNIX... |
|00000810| 31 09 09 2f 2a 20 6c 6f | 63 61 6c 20 74 6f 20 68 |1../* lo|cal to h|
|00000820| 6f 73 74 20 28 70 69 70 | 65 73 2c 20 70 6f 72 74 |ost (pip|es, port|
|00000830| 61 6c 73 29 20 09 09 09 | 2a 2f 0d 23 64 65 66 69 |als) ...|*/.#defi|
|00000840| 6e 65 09 41 46 5f 49 4e | 45 54 09 09 09 20 32 09 |ne.AF_IN|ET... 2.|
|00000850| 09 2f 2a 20 69 6e 74 65 | 72 6e 65 74 77 6f 72 6b |./* inte|rnetwork|
|00000860| 3a 20 55 44 50 2c 20 54 | 43 50 2c 20 65 74 63 2e |: UDP, T|CP, etc.|
|00000870| 20 09 09 09 09 2a 2f 0d | 23 64 65 66 69 6e 65 09 | ....*/.|#define.|
|00000880| 41 46 5f 43 54 42 09 09 | 09 20 33 09 09 2f 2a 20 |AF_CTB..|. 3../* |
|00000890| 41 70 70 6c 65 20 43 6f | 6d 6d 20 54 6f 6f 6c 62 |Apple Co|mm Toolb|
|000008a0| 6f 78 20 28 6e 6f 74 20 | 79 65 74 20 73 75 70 70 |ox (not |yet supp|
|000008b0| 6f 72 74 65 64 29 20 2a | 2f 0d 23 64 65 66 69 6e |orted) *|/.#defin|
|000008c0| 65 09 41 46 5f 46 49 4c | 45 09 09 09 20 34 09 09 |e.AF_FIL|E... 4..|
|000008d0| 2f 2a 20 4e 6f 72 6d 61 | 6c 20 46 69 6c 65 20 49 |/* Norma|l File I|
|000008e0| 2f 4f 20 28 75 73 65 64 | 20 69 6e 74 65 72 6e 61 |/O (used| interna|
|000008f0| 6c 6c 79 29 09 09 2a 2f | 0d 23 64 65 66 69 6e 65 |lly)..*/|.#define|
|00000900| 09 41 46 5f 50 50 43 09 | 09 09 20 35 09 09 2f 2a |.AF_PPC.|.. 5../*|
|00000910| 20 50 50 43 20 54 6f 6f | 6c 62 6f 78 09 09 09 09 | PPC Too|lbox....|
|00000920| 09 09 09 09 09 09 2a 2f | 0d 23 64 65 66 69 6e 65 |......*/|.#define|
|00000930| 09 41 46 5f 41 50 50 4c | 45 54 41 4c 4b 09 31 36 |.AF_APPL|ETALK.16|
|00000940| 09 09 2f 2a 20 41 70 70 | 6c 65 20 54 61 6c 6b 20 |../* App|le Talk |
|00000950| 09 09 09 09 09 09 09 09 | 09 09 2a 2f 0d 0d 23 64 |........|..*/..#d|
|00000960| 65 66 69 6e 65 09 41 54 | 41 4c 4b 5f 53 59 4d 41 |efine.AT|ALK_SYMA|
|00000970| 44 44 52 20 32 37 32 09 | 09 2f 2a 20 53 79 6d 62 |DDR 272.|./* Symb|
|00000980| 6f 6c 69 63 20 41 64 64 | 72 65 73 73 20 66 6f 72 |olic Add|ress for|
|00000990| 20 41 70 70 6c 65 54 61 | 6c 6b 20 09 09 09 2a 2f | AppleTa|lk ...*/|
|000009a0| 0d 0d 2f 2a 0d 20 2a 20 | 54 79 70 65 73 0d 20 2a |../*. * |Types. *|
|000009b0| 2f 0d 23 64 65 66 69 6e | 65 09 53 4f 43 4b 5f 53 |/.#defin|e.SOCK_S|
|000009c0| 54 52 45 41 4d 09 09 20 | 31 09 09 2f 2a 20 73 74 |TREAM.. |1../* st|
|000009d0| 72 65 61 6d 20 73 6f 63 | 6b 65 74 20 09 09 09 09 |ream soc|ket ....|
|000009e0| 09 09 09 09 2a 2f 0d 23 | 64 65 66 69 6e 65 09 53 |....*/.#|define.S|
|000009f0| 4f 43 4b 5f 44 47 52 41 | 4d 09 09 20 32 09 09 2f |OCK_DGRA|M.. 2../|
|00000a00| 2a 20 64 61 74 61 67 72 | 61 6d 20 73 6f 63 6b 65 |* datagr|am socke|
|00000a10| 74 20 09 09 09 09 09 09 | 09 2a 2f 0d 0d 73 74 72 |t ......|.*/..str|
|00000a20| 75 63 74 20 73 6f 63 6b | 61 64 64 72 5f 75 6e 20 |uct sock|addr_un |
|00000a30| 7b 0d 09 73 68 6f 72 74 | 09 09 73 75 6e 5f 66 61 |{..short|..sun_fa|
|00000a40| 6d 69 6c 79 3b 0d 09 63 | 68 61 72 20 09 09 73 75 |mily;..c|har ..su|
|00000a50| 6e 5f 70 61 74 68 5b 31 | 30 38 5d 3b 0d 7d 3b 0d |n_path[1|08];.};.|
|00000a60| 0d 73 74 72 75 63 74 20 | 73 6f 63 6b 61 64 64 72 |.struct |sockaddr|
|00000a70| 5f 61 74 6c 6b 20 7b 0d | 09 73 68 6f 72 74 09 09 |_atlk {.|.short..|
|00000a80| 09 66 61 6d 69 6c 79 3b | 0d 09 41 64 64 72 42 6c |.family;|..AddrBl|
|00000a90| 6f 63 6b 09 61 64 64 72 | 3b 0d 7d 3b 0d 0d 73 74 |ock.addr|;.};..st|
|00000aa0| 72 75 63 74 20 73 6f 63 | 6b 61 64 64 72 5f 61 74 |ruct soc|kaddr_at|
|00000ab0| 6c 6b 5f 73 79 6d 20 7b | 0d 09 73 68 6f 72 74 09 |lk_sym {|..short.|
|00000ac0| 09 09 66 61 6d 69 6c 79 | 3b 0d 09 45 6e 74 69 74 |..family|;..Entit|
|00000ad0| 79 4e 61 6d 65 09 6e 61 | 6d 65 3b 0d 7d 3b 0d 0d |yName.na|me;.};..|
|00000ae0| 73 74 72 75 63 74 20 73 | 6f 63 6b 61 64 64 72 5f |struct s|ockaddr_|
|00000af0| 70 70 63 20 7b 0d 09 73 | 68 6f 72 74 09 09 09 09 |ppc {..s|hort....|
|00000b00| 09 66 61 6d 69 6c 79 3b | 0d 09 4c 6f 63 61 74 69 |.family;|..Locati|
|00000b10| 6f 6e 4e 61 6d 65 52 65 | 63 09 6c 6f 63 61 74 69 |onNameRe|c.locati|
|00000b20| 6f 6e 3b 0d 09 50 50 43 | 50 6f 72 74 52 65 63 09 |on;..PPC|PortRec.|
|00000b30| 09 09 70 6f 72 74 3b 0d | 7d 3b 0d 0d 2f 2a 20 44 |..port;.|};../* D|
|00000b40| 65 66 69 6e 69 74 69 6f | 6e 73 20 66 6f 72 20 63 |efinitio|ns for c|
|00000b50| 68 6f 6f 73 65 28 29 20 | 2a 2f 0d 0d 23 64 65 66 |hoose() |*/..#def|
|00000b60| 69 6e 65 20 09 43 48 4f | 4f 53 45 5f 44 45 46 41 |ine .CHO|OSE_DEFA|
|00000b70| 55 4c 54 09 31 09 09 2f | 2a 09 55 73 65 20 2a 6e |ULT.1../|*.Use *n|
|00000b80| 61 6d 65 20 61 73 20 64 | 65 66 61 75 6c 74 20 6e |ame as d|efault n|
|00000b90| 61 6d 65 09 09 09 09 09 | 09 2a 2f 0d 23 64 65 66 |ame.....|.*/.#def|
|00000ba0| 69 6e 65 09 43 48 4f 4f | 53 45 5f 4e 45 57 09 09 |ine.CHOO|SE_NEW..|
|00000bb0| 32 09 09 2f 2a 20 43 68 | 6f 6f 73 65 20 6e 65 77 |2../* Ch|oose new|
|00000bc0| 20 65 6e 74 69 74 79 20 | 6e 61 6d 65 2c 20 6e 6f | entity |name, no|
|00000bd0| 74 20 65 78 69 73 74 69 | 6e 67 20 6f 6e 65 09 2a |t existi|ng one.*|
|00000be0| 2f 0d 23 64 65 66 69 6e | 65 09 43 48 4f 4f 53 45 |/.#defin|e.CHOOSE|
|00000bf0| 5f 44 49 52 09 09 34 09 | 09 2f 2a 20 43 68 6f 6f |_DIR..4.|./* Choo|
|00000c00| 73 65 20 61 20 64 69 72 | 65 63 74 6f 72 79 20 6e |se a dir|ectory n|
|00000c10| 61 6d 65 2c 20 6e 6f 74 | 20 61 20 66 69 6c 65 20 |ame, not| a file |
|00000c20| 09 09 2a 2f 0d 0d 74 79 | 70 65 64 65 66 20 73 74 |..*/..ty|pedef st|
|00000c30| 72 75 63 74 20 7b 0d 09 | 73 68 6f 72 74 09 09 09 |ruct {..|short...|
|00000c40| 6e 75 6d 54 79 70 65 73 | 3b 0d 09 53 46 54 79 70 |numTypes|;..SFTyp|
|00000c50| 65 4c 69 73 74 09 74 79 | 70 65 73 3b 0d 7d 20 73 |eList.ty|pes;.} s|
|00000c60| 61 5f 63 6f 6e 73 74 72 | 5f 66 69 6c 65 3b 0d 0d |a_constr|_file;..|
|00000c70| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 20 7b |typedef |struct {|
|00000c80| 0d 09 73 68 6f 72 74 09 | 09 09 6e 75 6d 54 79 70 |..short.|..numTyp|
|00000c90| 65 73 3b 0d 09 4e 4c 54 | 79 70 65 09 09 74 79 70 |es;..NLT|ype..typ|
|00000ca0| 65 73 3b 0d 7d 20 73 61 | 5f 63 6f 6e 73 74 72 5f |es;.} sa|_constr_|
|00000cb0| 61 74 6c 6b 3b 0d 0d 74 | 79 70 65 64 65 66 20 73 |atlk;..t|ypedef s|
|00000cc0| 74 72 75 63 74 09 7b 0d | 09 53 74 72 33 32 09 09 |truct.{.|.Str32..|
|00000cd0| 09 74 79 70 65 3b 0d 7d | 20 73 61 5f 63 6f 6e 73 |.type;.}| sa_cons|
|00000ce0| 74 72 5f 70 70 63 3b 0d | 0d 2f 2a 20 49 4f 2f 53 |tr_ppc;.|./* IO/S|
|00000cf0| 6f 63 6b 65 74 20 73 74 | 75 66 66 20 2a 2f 0d 0d |ocket st|uff */..|
|00000d00| 69 6e 74 20 73 6f 63 6b | 65 74 28 69 6e 74 20 64 |int sock|et(int d|
|00000d10| 6f 6d 61 69 6e 2c 20 69 | 6e 74 20 74 79 70 65 2c |omain, i|nt type,|
|00000d20| 20 73 68 6f 72 74 20 70 | 72 6f 74 6f 63 6f 6c 29 | short p|rotocol)|
|00000d30| 3b 0d 69 6e 74 20 62 69 | 6e 64 28 69 6e 74 20 73 |;.int bi|nd(int s|
|00000d40| 2c 20 76 6f 69 64 20 2a | 6e 61 6d 65 2c 20 69 6e |, void *|name, in|
|00000d50| 74 20 6e 61 6d 65 6c 65 | 6e 29 3b 0d 69 6e 74 20 |t namele|n);.int |
|00000d60| 63 6f 6e 6e 65 63 74 28 | 69 6e 74 20 73 2c 20 76 |connect(|int s, v|
|00000d70| 6f 69 64 20 2a 61 64 64 | 72 2c 20 69 6e 74 20 61 |oid *add|r, int a|
|00000d80| 64 64 72 6c 65 6e 29 3b | 0d 69 6e 74 20 6c 69 73 |ddrlen);|.int lis|
|00000d90| 74 65 6e 28 69 6e 74 20 | 73 2c 20 69 6e 74 20 71 |ten(int |s, int q|
|00000da0| 6c 65 6e 29 3b 0d 69 6e | 74 20 61 63 63 65 70 74 |len);.in|t accept|
|00000db0| 28 69 6e 74 20 73 2c 20 | 76 6f 69 64 20 2a 61 64 |(int s, |void *ad|
|00000dc0| 64 72 2c 20 69 6e 74 20 | 2a 61 64 64 72 6c 65 6e |dr, int |*addrlen|
|00000dd0| 29 3b 0d 69 6e 74 20 63 | 6c 6f 73 65 28 69 6e 74 |);.int c|lose(int|
|00000de0| 20 73 29 3b 0d 69 6e 74 | 20 72 65 61 64 28 69 6e | s);.int| read(in|
|00000df0| 74 20 73 2c 20 63 68 61 | 72 20 2a 62 75 66 66 65 |t s, cha|r *buffe|
|00000e00| 72 2c 20 75 6e 73 69 67 | 6e 65 64 20 62 75 66 6c |r, unsig|ned bufl|
|00000e10| 65 6e 29 3b 0d 69 6e 74 | 20 72 65 61 64 76 28 69 |en);.int| readv(i|
|00000e20| 6e 74 20 73 2c 20 73 74 | 72 75 63 74 20 69 6f 76 |nt s, st|ruct iov|
|00000e30| 65 63 20 2a 69 6f 76 2c | 20 69 6e 74 20 63 6f 75 |ec *iov,| int cou|
|00000e40| 6e 74 29 3b 0d 69 6e 74 | 20 72 65 63 76 28 69 6e |nt);.int| recv(in|
|00000e50| 74 20 73 2c 20 76 6f 69 | 64 20 2a 62 75 66 66 65 |t s, voi|d *buffe|
|00000e60| 72 2c 20 69 6e 74 20 62 | 75 66 6c 65 6e 2c 20 69 |r, int b|uflen, i|
|00000e70| 6e 74 20 66 6c 61 67 73 | 29 3b 0d 69 6e 74 20 72 |nt flags|);.int r|
|00000e80| 65 63 76 66 72 6f 6d 28 | 69 6e 74 20 73 2c 20 76 |ecvfrom(|int s, v|
|00000e90| 6f 69 64 20 2a 62 75 66 | 66 65 72 2c 20 69 6e 74 |oid *buf|fer, int|
|00000ea0| 20 62 75 66 6c 65 6e 2c | 20 69 6e 74 20 66 6c 61 | buflen,| int fla|
|00000eb0| 67 73 2c 20 76 6f 69 64 | 20 2a 66 72 6f 6d 2c 20 |gs, void| *from, |
|00000ec0| 69 6e 74 20 2a 66 72 6f | 6d 6c 65 6e 29 3b 0d 69 |int *fro|mlen);.i|
|00000ed0| 6e 74 20 72 65 63 76 6d | 73 67 28 69 6e 74 20 73 |nt recvm|sg(int s|
|00000ee0| 2c 73 74 72 75 63 74 20 | 6d 73 67 68 64 72 20 2a |,struct |msghdr *|
|00000ef0| 6d 73 67 2c 69 6e 74 20 | 66 6c 61 67 73 29 3b 0d |msg,int |flags);.|
|00000f00| 69 6e 74 20 77 72 69 74 | 65 28 69 6e 74 20 73 2c |int writ|e(int s,|
|00000f10| 20 63 6f 6e 73 74 20 63 | 68 61 72 20 2a 62 75 66 | const c|har *buf|
|00000f20| 66 65 72 2c 20 75 6e 73 | 69 67 6e 65 64 20 62 75 |fer, uns|igned bu|
|00000f30| 66 6c 65 6e 29 3b 0d 69 | 6e 74 20 77 72 69 74 65 |flen);.i|nt write|
|00000f40| 76 28 69 6e 74 20 73 2c | 20 73 74 72 75 63 74 20 |v(int s,| struct |
|00000f50| 69 6f 76 65 63 20 2a 69 | 6f 76 2c 20 69 6e 74 20 |iovec *i|ov, int |
|00000f60| 63 6f 75 6e 74 29 3b 0d | 69 6e 74 20 73 65 6e 64 |count);.|int send|
|00000f70| 28 69 6e 74 20 73 2c 20 | 76 6f 69 64 20 2a 62 75 |(int s, |void *bu|
|00000f80| 66 66 65 72 2c 20 69 6e | 74 20 62 75 66 6c 65 6e |ffer, in|t buflen|
|00000f90| 2c 20 69 6e 74 20 66 6c | 61 67 73 29 3b 0d 69 6e |, int fl|ags);.in|
|00000fa0| 74 20 73 65 6e 64 74 6f | 20 28 69 6e 74 20 73 2c |t sendto| (int s,|
|00000fb0| 20 76 6f 69 64 20 2a 62 | 75 66 66 65 72 2c 20 69 | void *b|uffer, i|
|00000fc0| 6e 74 20 62 75 66 6c 65 | 6e 2c 20 69 6e 74 20 66 |nt bufle|n, int f|
|00000fd0| 6c 61 67 73 2c 20 76 6f | 69 64 20 2a 74 6f 2c 20 |lags, vo|id *to, |
|00000fe0| 69 6e 74 20 74 6f 6c 65 | 6e 29 3b 0d 69 6e 74 20 |int tole|n);.int |
|00000ff0| 73 65 6e 64 6d 73 67 28 | 69 6e 74 20 73 2c 73 74 |sendmsg(|int s,st|
|00001000| 72 75 63 74 20 6d 73 67 | 68 64 72 20 2a 6d 73 67 |ruct msg|hdr *msg|
|00001010| 2c 69 6e 74 20 66 6c 61 | 67 73 29 3b 0d 69 6e 74 |,int fla|gs);.int|
|00001020| 20 73 65 6c 65 63 74 28 | 69 6e 74 20 77 69 64 74 | select(|int widt|
|00001030| 68 2c 20 66 64 5f 73 65 | 74 20 2a 72 65 61 64 66 |h, fd_se|t *readf|
|00001040| 64 73 2c 20 66 64 5f 73 | 65 74 20 2a 77 72 69 74 |ds, fd_s|et *writ|
|00001050| 65 66 64 73 2c 20 66 64 | 5f 73 65 74 20 2a 65 78 |efds, fd|_set *ex|
|00001060| 63 65 70 74 66 64 73 2c | 20 73 74 72 75 63 74 20 |ceptfds,| struct |
|00001070| 74 69 6d 65 76 61 6c 20 | 2a 74 69 6d 65 6f 75 74 |timeval |*timeout|
|00001080| 29 3b 0d 69 6e 74 20 67 | 65 74 64 74 61 62 6c 65 |);.int g|etdtable|
|00001090| 73 69 7a 65 28 76 6f 69 | 64 29 3b 0d 69 6e 74 20 |size(voi|d);.int |
|000010a0| 67 65 74 73 6f 63 6b 6e | 61 6d 65 28 69 6e 74 20 |getsockn|ame(int |
|000010b0| 73 2c 20 76 6f 69 64 20 | 2a 6e 61 6d 65 2c 20 69 |s, void |*name, i|
|000010c0| 6e 74 20 2a 6e 61 6d 65 | 6c 65 6e 29 3b 0d 69 6e |nt *name|len);.in|
|000010d0| 74 20 67 65 74 70 65 65 | 72 6e 61 6d 65 28 69 6e |t getpee|rname(in|
|000010e0| 74 20 73 2c 20 73 74 72 | 75 63 74 20 73 6f 63 6b |t s, str|uct sock|
|000010f0| 61 64 64 72 20 2a 6e 61 | 6d 65 2c 20 69 6e 74 20 |addr *na|me, int |
|00001100| 2a 6e 61 6d 65 6c 65 6e | 29 3b 0d 69 6e 74 20 73 |*namelen|);.int s|
|00001110| 68 75 74 64 6f 77 6e 28 | 69 6e 74 20 73 2c 20 69 |hutdown(|int s, i|
|00001120| 6e 74 20 68 6f 77 29 3b | 0d 69 6e 74 20 66 63 6e |nt how);|.int fcn|
|00001130| 74 6c 28 69 6e 74 20 73 | 2c 20 75 6e 73 69 67 6e |tl(int s|, unsign|
|00001140| 65 64 20 69 6e 74 20 63 | 6d 64 2c 20 69 6e 74 20 |ed int c|md, int |
|00001150| 61 72 67 29 3b 0d 69 6e | 74 20 64 75 70 28 69 6e |arg);.in|t dup(in|
|00001160| 74 20 73 29 3b 0d 69 6e | 74 20 64 75 70 32 28 69 |t s);.in|t dup2(i|
|00001170| 6e 74 20 73 2c 20 69 6e | 74 20 73 31 29 3b 0d 69 |nt s, in|t s1);.i|
|00001180| 6e 74 20 69 6f 63 74 6c | 28 69 6e 74 20 64 2c 20 |nt ioctl|(int d, |
|00001190| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 20 72 65 71 |unsigned| int req|
|000011a0| 75 65 73 74 2c 20 6c 6f | 6e 67 20 2a 61 72 67 70 |uest, lo|ng *argp|
|000011b0| 29 3b 20 20 2f 2a 20 61 | 72 67 70 20 69 73 20 72 |); /* a|rgp is r|
|000011c0| 65 61 6c 6c 79 20 61 20 | 63 61 64 64 72 5f 74 20 |eally a |caddr_t |
|000011d0| 2a 2f 0d 69 6e 74 20 67 | 65 74 73 6f 63 6b 6f 70 |*/.int g|etsockop|
|000011e0| 74 28 69 6e 74 20 73 2c | 20 69 6e 74 20 6c 65 76 |t(int s,| int lev|
|000011f0| 65 6c 2c 20 69 6e 74 20 | 6f 70 74 6e 61 6d 65 2c |el, int |optname,|
|00001200| 20 63 68 61 72 20 2a 6f | 70 74 76 61 6c 2c 20 69 | char *o|ptval, i|
|00001210| 6e 74 20 2a 20 6f 70 74 | 6c 65 6e 29 3b 0d 69 6e |nt * opt|len);.in|
|00001220| 74 20 73 65 74 73 6f 63 | 6b 6f 70 74 28 69 6e 74 |t setsoc|kopt(int|
|00001230| 20 73 2c 20 69 6e 74 20 | 6c 65 76 65 6c 2c 20 69 | s, int |level, i|
|00001240| 6e 74 20 6f 70 74 6e 61 | 6d 65 2c 20 63 68 61 72 |nt optna|me, char|
|00001250| 20 2a 6f 70 74 76 61 6c | 2c 20 69 6e 74 20 6f 70 | *optval|, int op|
|00001260| 74 6c 65 6e 29 3b 0d 69 | 6e 74 20 69 73 61 74 74 |tlen);.i|nt isatt|
|00001270| 79 28 69 6e 74 29 3b 0d | 69 6e 74 20 72 65 6d 6f |y(int);.|int remo|
|00001280| 76 65 28 63 6f 6e 73 74 | 20 63 68 61 72 20 2a 66 |ve(const| char *f|
|00001290| 69 6c 65 6e 61 6d 65 29 | 3b 0d 69 6e 74 20 72 65 |ilename)|;.int re|
|000012a0| 6e 61 6d 65 28 63 6f 6e | 73 74 20 63 68 61 72 20 |name(con|st char |
|000012b0| 2a 6f 6c 64 6e 61 6d 65 | 2c 20 63 6f 6e 73 74 20 |*oldname|, const |
|000012c0| 63 68 61 72 20 2a 6e 65 | 77 6e 61 6d 65 29 3b 0d |char *ne|wname);.|
|000012d0| 69 6e 74 20 63 72 65 61 | 74 28 63 6f 6e 73 74 20 |int crea|t(const |
|000012e0| 63 68 61 72 2a 29 3b 0d | 69 6e 74 20 66 61 63 63 |char*);.|int facc|
|000012f0| 65 73 73 28 63 68 61 72 | 2a 2c 20 75 6e 73 69 67 |ess(char|*, unsig|
|00001300| 6e 65 64 20 69 6e 74 2c | 20 6c 6f 6e 67 2a 29 3b |ned int,| long*);|
|00001310| 0d 6c 6f 6e 67 20 6c 73 | 65 65 6b 28 69 6e 74 2c |.long ls|eek(int,|
|00001320| 20 6c 6f 6e 67 2c 20 69 | 6e 74 29 3b 0d 69 6e 74 | long, i|nt);.int|
|00001330| 20 6f 70 65 6e 28 63 6f | 6e 73 74 20 63 68 61 72 | open(co|nst char|
|00001340| 2a 2c 20 69 6e 74 29 3b | 0d 69 6e 74 20 75 6e 6c |*, int);|.int unl|
|00001350| 69 6e 6b 28 63 68 61 72 | 2a 29 3b 0d 69 6e 74 20 |ink(char|*);.int |
|00001360| 73 79 6d 6c 69 6e 6b 28 | 63 68 61 72 2a 20 6c 69 |symlink(|char* li|
|00001370| 6e 6b 74 6f 2c 20 63 68 | 61 72 2a 20 6c 69 6e 6b |nkto, ch|ar* link|
|00001380| 6e 61 6d 65 29 3b 0d 69 | 6e 74 20 72 65 61 64 6c |name);.i|nt readl|
|00001390| 69 6e 6b 28 63 68 61 72 | 2a 20 70 61 74 68 2c 20 |ink(char|* path, |
|000013a0| 63 68 61 72 2a 20 62 75 | 66 2c 20 69 6e 74 20 62 |char* bu|f, int b|
|000013b0| 75 66 73 69 7a 29 3b 0d | 69 6e 74 20 63 68 6f 6f |ufsiz);.|int choo|
|000013c0| 73 65 28 0d 09 09 69 6e | 74 20 09 09 64 6f 6d 61 |se(...in|t ..doma|
|000013d0| 69 6e 2c 0d 09 09 69 6e | 74 20 09 09 74 79 70 65 |in,...in|t ..type|
|000013e0| 2c 0d 09 09 63 68 61 72 | 20 2a 20 09 70 72 6f 6d |,...char| * .prom|
|000013f0| 70 74 2c 0d 09 09 76 6f | 69 64 20 2a 20 09 63 6f |pt,...vo|id * .co|
|00001400| 6e 73 74 72 61 69 6e 74 | 2c 0d 09 09 69 6e 74 20 |nstraint|,...int |
|00001410| 09 09 66 6c 61 67 73 2c | 0d 09 09 76 6f 69 64 20 |..flags,|...void |
|00001420| 2a 20 09 6e 61 6d 65 2c | 0d 09 09 69 6e 74 20 2a |* .name,|...int *|
|00001430| 20 09 6e 61 6d 65 6c 65 | 6e 29 3b 0d 0d 2f 2a 20 | .namele|n);../* |
|00001440| 48 6f 73 74 6e 61 6d 65 | 73 20 2a 2f 0d 73 74 72 |Hostname|s */.str|
|00001450| 75 63 74 20 68 6f 73 74 | 65 6e 74 20 2a 20 67 65 |uct host|ent * ge|
|00001460| 74 68 6f 73 74 62 79 6e | 61 6d 65 28 63 68 61 72 |thostbyn|ame(char|
|00001470| 20 2a 6e 61 6d 65 29 3b | 0d 73 74 72 75 63 74 20 | *name);|.struct |
|00001480| 68 6f 73 74 65 6e 74 20 | 2a 20 67 65 74 68 6f 73 |hostent |* gethos|
|00001490| 74 62 79 61 64 64 72 28 | 73 74 72 75 63 74 20 69 |tbyaddr(|struct i|
|000014a0| 6e 5f 61 64 64 72 20 2a | 61 64 64 72 50 2c 20 69 |n_addr *|addrP, i|
|000014b0| 6e 74 2c 20 69 6e 74 29 | 3b 0d 63 68 61 72 20 2a |nt, int)|;.char *|
|000014c0| 20 69 6e 65 74 5f 6e 74 | 6f 61 28 73 74 72 75 63 | inet_nt|oa(struc|
|000014d0| 74 20 69 6e 5f 61 64 64 | 72 20 69 6e 61 64 64 72 |t in_add|r inaddr|
|000014e0| 29 3b 0d 73 74 72 75 63 | 74 20 69 6e 5f 61 64 64 |);.struc|t in_add|
|000014f0| 72 20 69 6e 65 74 5f 61 | 64 64 72 28 63 68 61 72 |r inet_a|ddr(char|
|00001500| 20 2a 61 64 64 72 65 73 | 73 29 3b 0d 69 6e 74 20 | *addres|s);.int |
|00001510| 67 65 74 68 6f 73 74 6e | 61 6d 65 28 63 68 61 72 |gethostn|ame(char|
|00001520| 20 2a 6d 61 63 68 6e 61 | 6d 65 2c 20 6c 6f 6e 67 | *machna|me, long|
|00001530| 20 62 75 66 6c 65 6e 29 | 3b 0d 73 74 72 75 63 74 | buflen)|;.struct|
|00001540| 20 73 65 72 76 65 6e 74 | 20 2a 20 67 65 74 73 65 | servent| * getse|
|00001550| 72 76 62 79 6e 61 6d 65 | 20 28 63 68 61 72 20 2a |rvbyname| (char *|
|00001560| 20 6e 61 6d 65 2c 20 63 | 68 61 72 20 2a 20 70 72 | name, c|har * pr|
|00001570| 6f 74 6f 29 3b 0d 73 74 | 72 75 63 74 20 70 72 6f |oto);.st|ruct pro|
|00001580| 74 6f 65 6e 74 20 2a 20 | 67 65 74 70 72 6f 74 6f |toent * |getproto|
|00001590| 62 79 6e 61 6d 65 28 63 | 68 61 72 20 2a 20 6e 61 |byname(c|har * na|
|000015a0| 6d 65 29 3b 0d 0d 2f 2a | 20 57 68 61 74 20 74 6f |me);../*| What to|
|000015b0| 20 64 6f 20 77 68 65 6e | 20 61 20 72 6f 75 74 69 | do when| a routi|
|000015c0| 6e 65 20 62 6c 6f 63 6b | 73 20 2a 2f 0d 76 6f 69 |ne block|s */.voi|
|000015d0| 64 20 47 55 53 49 53 65 | 74 53 70 69 6e 28 47 55 |d GUSISe|tSpin(GU|
|000015e0| 53 49 53 70 69 6e 46 6e | 20 72 6f 75 74 69 6e 65 |SISpinFn| routine|
|000015f0| 29 3b 0d 47 55 53 49 53 | 70 69 6e 46 6e 20 47 55 |);.GUSIS|pinFn GU|
|00001600| 53 49 47 65 74 53 70 69 | 6e 28 76 6f 69 64 29 3b |SIGetSpi|n(void);|
|00001610| 0d 69 6e 74 20 47 55 53 | 49 53 65 74 45 76 65 6e |.int GUS|ISetEven|
|00001620| 74 73 28 47 55 53 49 45 | 76 74 54 61 62 6c 65 20 |ts(GUSIE|vtTable |
|00001630| 74 61 62 6c 65 29 3b 0d | 47 55 53 49 45 76 74 48 |table);.|GUSIEvtH|
|00001640| 61 6e 64 6c 65 72 20 2a | 20 47 55 53 49 47 65 74 |andler *| GUSIGet|
|00001650| 45 76 65 6e 74 73 28 76 | 6f 69 64 29 3b 0d 0d 65 |Events(v|oid);..e|
|00001660| 78 74 65 72 6e 20 47 55 | 53 49 45 76 74 48 61 6e |xtern GU|SIEvtHan|
|00001670| 64 6c 65 72 09 47 55 53 | 49 53 49 4f 57 45 76 65 |dler.GUS|ISIOWEve|
|00001680| 6e 74 73 5b 5d 3b 0d 0d | 2f 2a 20 44 69 72 65 63 |nts[];..|/* Direc|
|00001690| 74 6f 72 79 20 53 74 75 | 66 66 20 2a 2f 0d 69 6e |tory Stu|ff */.in|
|000016a0| 74 09 09 63 68 64 69 72 | 28 63 68 61 72 20 2a 20 |t..chdir|(char * |
|000016b0| 70 61 74 68 29 3b 0d 69 | 6e 74 09 09 6d 6b 64 69 |path);.i|nt..mkdi|
|000016c0| 72 28 63 68 61 72 20 2a | 20 70 61 74 68 29 3b 0d |r(char *| path);.|
|000016d0| 69 6e 74 09 09 72 6d 64 | 69 72 28 63 68 61 72 20 |int..rmd|ir(char |
|000016e0| 2a 20 70 61 74 68 29 3b | 0d 63 68 61 72 20 2a 09 |* path);|.char *.|
|000016f0| 67 65 74 63 77 64 28 63 | 68 61 72 20 2a 20 62 75 |getcwd(c|har * bu|
|00001700| 66 2c 20 69 6e 74 20 73 | 69 7a 65 29 3b 0d 0d 2f |f, int s|ize);../|
|00001710| 2a 20 42 53 44 20 6d 65 | 6d 6f 72 79 20 72 6f 75 |* BSD me|mory rou|
|00001720| 74 69 6e 65 73 20 2a 2f | 0d 0d 23 64 65 66 69 6e |tines */|..#defin|
|00001730| 65 20 62 7a 65 72 6f 28 | 66 72 6f 6d 2c 20 6c 65 |e bzero(|from, le|
|00001740| 6e 29 20 09 09 09 09 6d | 65 6d 73 65 74 28 66 72 |n) ....m|emset(fr|
|00001750| 6f 6d 2c 20 30 2c 20 6c | 65 6e 29 0d 23 64 65 66 |om, 0, l|en).#def|
|00001760| 69 6e 65 20 62 63 6f 70 | 79 28 66 72 6f 6d 2c 20 |ine bcop|y(from, |
|00001770| 74 6f 2c 20 6c 65 6e 29 | 09 09 09 6d 65 6d 63 70 |to, len)|...memcp|
|00001780| 79 28 74 6f 2c 20 66 72 | 6f 6d 2c 20 6c 65 6e 29 |y(to, fr|om, len)|
|00001790| 0d 23 64 65 66 69 6e 65 | 20 62 63 6d 70 28 73 31 |.#define| bcmp(s1|
|000017a0| 2c 20 73 32 2c 20 6c 65 | 6e 29 09 09 09 09 6d 65 |, s2, le|n)....me|
|000017b0| 6d 63 6d 70 28 73 31 2c | 20 73 32 2c 20 6c 65 6e |mcmp(s1,| s2, len|
|000017c0| 29 0d 23 64 65 66 69 6e | 65 20 62 66 69 6c 6c 28 |).#defin|e bfill(|
|000017d0| 66 72 6f 6d 2c 20 6c 65 | 6e 2c 20 78 29 09 09 09 |from, le|n, x)...|
|000017e0| 6d 65 6d 73 65 74 28 66 | 72 6f 6d 2c 20 78 2c 20 |memset(f|rom, x, |
|000017f0| 6c 65 6e 29 0d 0d 23 69 | 66 64 65 66 20 5f 5f 63 |len)..#i|fdef __c|
|00001800| 70 6c 75 73 70 6c 75 73 | 0d 7d 0d 23 65 6e 64 69 |plusplus|.}.#endi|
|00001810| 66 0d 0d 23 65 6e 64 69 | 66 00 00 00 00 00 00 00 |f..#endi|f.......|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 01 00 00 00 01 ec | 00 00 00 ec 00 00 00 68 |........|.......h|
|00001890| 00 00 00 01 07 67 61 6e | 64 61 6c 66 00 00 00 00 |.....gan|dalf....|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 06 47 55 53 49 2e 68 da | 02 00 00 00 54 45 58 54 |.GUSI.h.|....TEXT|
|000018c0| 4d 50 53 20 00 00 00 d0 | 00 c0 00 00 00 00 76 f1 |MPS ....|......v.|
|000018d0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 00 d0 00 c0 |..TEXTMP|S ......|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 a5 f1 13 58 00 00 | 17 99 00 00 02 54 00 00 |.....X..|.....T..|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 02 9b 25 00 00 00 |........|....%...|
|00001910| 00 02 0a 44 65 73 6b 74 | 6f 70 20 44 42 00 00 00 |...Deskt|op DB...|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 01 25 00 | 00 00 00 02 0a 44 69 73 |......%.|.....Dis|
|00001940| 63 69 70 6c 69 6e 65 00 | 00 00 00 00 00 00 00 00 |cipline.|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 6a |........|.......j|
|00001960| 25 00 00 00 00 02 0c 46 | 6f 6f 20 41 72 67 75 6d |%......F|oo Argum|
|00001970| 65 6e 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ent.....|........|
|00001980| 00 00 00 60 70 64 4d e7 | 3f e5 32 30 00 04 00 00 |...`pdM.|?.20....|
|00001990| 00 00 00 00 00 00 a7 51 | 7b e7 a7 4a 94 71 a6 71 |.......Q|{..J.q.q|
|000019a0| 49 ef 00 00 bf be 00 01 | 00 04 00 08 05 47 55 53 |I.......|.....GUS|
|000019b0| 49 ba 00 05 6e 65 65 72 | 69 00 01 38 00 06 47 55 |I...neer|i..8..GU|
|000019c0| 53 49 2e 68 00 00 00 00 | 1a 72 65 6d 6f 76 65 20 |SI.h....|.remove |
|000019d0| 6e 65 74 64 62 2e 68 20 | 64 65 66 69 6e 69 74 69 |netdb.h |definiti|
|000019e0| 6f 6e 73 00 00 00 00 48 | 00 09 4d 6f 6e 61 63 6f |ons....H|..Monaco|
|000019f0| 00 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00001a00| 2a 2a 0d 50 72 6f 6a 65 | 63 74 00 06 00 03 00 35 |**.Proje|ct.....5|
|00001a10| 00 0b 01 ae 02 2c 00 35 | 00 0b 01 ae 02 2c a7 4a |.....,.5|.....,.J|
|00001a20| 94 71 00 00 02 a8 00 00 | 02 c6 00 00 12 91 01 00 |.q......|........|
|00001a30| 00 00 00 16 00 01 00 00 | 02 38 00 00 02 50 0b 4c |........|.8...P.L|
|00001a40| 61 73 74 43 68 61 6e 67 | 65 00 00 00 00 1e 00 35 |astChang|e......5|
|00001a50| 00 0b 01 ae 02 2c 00 35 | 00 0b 01 ae 02 2c 00 00 |.....,.5|.....,..|
|00001a60| 12 91 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00001a70| 00 00 01 ec 00 00 00 ec | 00 00 00 68 01 8e e2 a0 |........|...h....|
|00001a80| 0c 7e 00 00 00 1c 00 5e | 00 01 4d 50 53 52 00 02 |.~.....^|..MPSR..|
|00001a90| 00 12 63 6b 69 64 00 00 | 00 36 03 ed ff ff 00 00 |..ckid..|.6......|
|00001aa0| 00 64 00 00 00 00 03 ef | ff ff 00 00 00 b0 00 00 |.d......|........|
|00001ab0| 00 00 03 f0 ff ff 00 00 | 00 ca 01 95 14 6c 00 80 |........|.....l..|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 09 50 72 6f 6a 65 |........|...Proje|
|00001ad0| 63 74 6f 72 00 00 00 00 | 00 00 00 00 00 00 00 00 |ctor....|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+